﻿<%@ Page Title="Forget Password" Language="C#" MasterPageFile="~/Shared/DefaultMaster.master"
    AutoEventWireup="true" CodeBehind="ForgetPassword.aspx.cs" Inherits="Churchtoolkit.Web.ForgetPassword" %>

<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" runat="server">
    <table class="Details">
        <tr>
            <td colspan="3" class="header">
                Forget your Password
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label runat="server" Text="Email"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="vldrequiredEmail" runat="server" ErrorMessage="0001"
                    Text="*" ControlToValidate="txtEmail" Display="Dynamic"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="vldregularEmail" runat="server" ErrorMessage="0003"
                    Text="*" ControlToValidate="txtEmail" Display="Dynamic" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                <asp:CustomValidator ID="vldcustomEmail" runat="server" ErrorMessage="0004" Text="*"
                    OnServerValidate="Available_Email" Display="Dynamic"></asp:CustomValidator>
            </td>
            <td>
                <asp:Button ID="btnForgetPassword" Text="Forget my password" runat="server" OnClick="btnForgetPassword_Click" />
            </td>
        </tr>
        <tr>
            <td colspan="3" class="footer">
                <asp:ValidationSummary runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
